<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2016/11/28
 * Time: 17:03
 */
class Admin_Model extends CI_Model{

    public function __construct()
    {
        $this->load->database();
    }

    public function add($data){

       return $this->db->insert('user', $data);
    }


}